package org.cloudie.docs.editor.client.commands.generic;

import org.cloudie.docs.editor.client.commands.Command;

public class ExplorerWindowOpenFolderCommand extends Command {

  public final static int serialUid = 37;

  private boolean useCache = true;
  private String folderName;
  
  public ExplorerWindowOpenFolderCommand(String folderName, boolean useCache) {
    super("List folder contents.");
    this.folderName = folderName;
    this.useCache = useCache;
  }

  @Override
  public int getCommandId() {
    return serialUid;
  }

  public String getFolderName() {
    return folderName;
  }
  
  public boolean isUseCache() {
    return useCache;
  }

  public void setFolderName(String folderName) {
    this.folderName = folderName;
  }

  public void setUseCache(boolean useCache) {
    this.useCache = useCache;
  }

}
